//
//  LCYNetWorkRequestManager.h
//  EPA
//
//  Created by lanou3g on 16/4/15.
//  Copyright © 2016年 liu. All rights reserved.
//

#import <Foundation/Foundation.h>

///定义一个枚举
typedef NS_ENUM(NSInteger){
    LCY_GET,
    LCY_POST
} URLRequestMethod;

///定义返回值block网络请求结果
typedef void(^ResultBlock)(NSData *data,NSURLResponse *response,NSError *error);

@interface LCYNetWorkRequestManager : NSObject

///网络请求方法
+ (void)requestURL:(NSURL *)url RequestMethod:(URLRequestMethod)method Params:(NSDictionary *)param Result:(ResultBlock)resultBlock;


@end
